package org.jeecg.modules.monitoring.j_monitoring.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 网络接口记录
 * @Author: xiaoyq
 * @Date:   2023-05-23
 * @Version: V1.0
 */
@Data
@TableName("network_interface_log")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="网络接口记录对象", description="网络接口记录")
public class NetworkInterfaceLog implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**名称*/
	@Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
    private String name;
	/**fdn*/
	@Excel(name = "fdn", width = 15)
    @ApiModelProperty(value = "fdn")
    private String fdn;
	/**总输入流量*/
	@Excel(name = "总输入流量", width = 15)
    @ApiModelProperty(value = "总输入流量")
    private BigDecimal totalInputTraffice;
	/**总输出流量*/
	@Excel(name = "总输出流量", width = 15)
    @ApiModelProperty(value = "总输出流量")
    private BigDecimal totalOutTraffice;
	/**输入错误*/
	@Excel(name = "输入错误", width = 15)
    @ApiModelProperty(value = "输入错误")
    private Integer inError;
	/**输出错误*/
	@Excel(name = "输出错误", width = 15)
    @ApiModelProperty(value = "输出错误")
    private Integer outError;
	/**输入丢包*/
	@Excel(name = "输入丢包", width = 15)
    @ApiModelProperty(value = "输入丢包")
    private Integer inDiscards;
	/**输出丢包*/
	@Excel(name = "输出丢包", width = 15)
    @ApiModelProperty(value = "输出丢包")
    private Integer outDiscards;
	/**输入单播数据包速率*/
	@Excel(name = "输入单播数据包速率", width = 15)
    @ApiModelProperty(value = "输入单播数据包速率")
    private BigDecimal inUnicastPacketRate;
	/**输出单播数据包速率*/
	@Excel(name = "输出单播数据包速率", width = 15)
    @ApiModelProperty(value = "输出单播数据包速率")
    private BigDecimal outUnicastPacketRate;
	/**输入速率*/
	@Excel(name = "输入速率", width = 15)
    @ApiModelProperty(value = "输入速率")
    private BigDecimal inputRate;
	/**输出速率*/
	@Excel(name = "输出速率", width = 15)
    @ApiModelProperty(value = "输出速率")
    private BigDecimal outputRate;
	/**输入利用率*/
	@Excel(name = "输入利用率", width = 15)
    @ApiModelProperty(value = "输入利用率")
    private BigDecimal inputUtilization;
	/**输入利用率*/
	@Excel(name = "输入利用率", width = 15)
    @ApiModelProperty(value = "输入利用率")
    private BigDecimal outputUtilization;
	/**冗余校验错误*/
	@Excel(name = "冗余校验错误", width = 15)
    @ApiModelProperty(value = "冗余校验错误")
    private Integer crcErrors;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
